from fastapi import APIRouter
from typing import Optional

app = APIRouter()

@app.get('/Hello',name='测试接口')
def hello(
    name:Optional[str]=""
):
    return f'你好{name}！'